Total Complexity | 45 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 512 |
Lines of code | 338 |
Logical lines of code | 108 |
Comment lines | 126 |
Methods | 13 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_block_types() | 31 | 7 | 143 | |
add_data_attributes() | 48 | 11 | 31 | |
get_registered_blocks_with_woocommerce_parent() | 52 | 6 | 28 | |
has_block_variation() | 58 | 6 | 15 | |
init() | 54 | 3 | 21 | |
register_block_patterns() | 48 | 1 | 42 | |
block_should_have_data_attributes() | 62 | 3 | 10 | |
register_blocks() | 68 | 2 | 7 | |
redirect_to_field() | 69 | 2 | 6 | |
hide_legacy_widgets_with_block_equivalent() | 62 | 1 | 14 | |
register_block_categories() | 62 | 1 | 13 | |
__construct() | 74 | 1 | 5 | |
delete_product_transients() | 81 | 1 | 3 |